﻿<%@ Page Language="C#" MasterPageFile="~/YUIAspNet.Master" AutoEventWireup="true" CodeBehind="ButtonTypeLink.aspx.cs" Inherits="YUIAspNetDemo.Button.ButtonTypeLink" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>YUIAsp.Net Controls : LiveDemo : Button : Link Button</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Link button</h1>

    <p>
        The button with ButtonType="Link" is very similar with the ASP.NET HyperLink control. Just set the NavigateURL property, and it's ready!<br />
        <yui:Button ID="btnLink" Text="Go to google" Target="_blank" ButtonType="Link" NavigateUrl="http://www.google.com" runat="server" />
    </p>
    
    <p>
        It's also very easy to customize the button. The text property allows html, so you can add images or other HTML code you'd like.<br />
        <yui:Button ID="btnCustomHtml" Text="<i>Go to</i> <b>yahoo</b>" Target="_blank" ButtonType="Link" NavigateUrl="http://www.yahoo.com" runat="server" />
    </p>
</asp:Content>
